package com.itheima.test3;

import java.util.Scanner;

public class test1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入字符串：");
        String a=sc.nextLine();
        for (int i=0;i<=a.length();i++){
            System.out.println(a.charAt(i));
        }
    }
}
